<template>
	<view class="pageView">
		<u-navbar
			title="考核"
			:autoBack="true"
		>
		</u-navbar>
		<view class="codeBlock">
			<view class="codeBlock-title">{{ pageTitle }}考核</view>
			<view class="codeBlock-codeTitle">考核二维码</view>
			<image :src="codeImg" class="codeBlock-codeImage"></image>
		</view>
		<view class="codeFont">识别二维码跳转外部网页（待定）</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				pageTitle: '',
				codeImg: ''
			}
		},
		onShow() {
			console.log(uni.getStorageSync('itemData'))
			this.pageTitle = uni.getStorageSync('itemData').title
			this.codeImg = uni.getStorageSync('itemData').ercode
		},
		methods: {
			
		}
	}
</script>

<style lang="less" scoped>
	.pageView{
		height: 100vh;
		background: #F4F4F4;
		padding: 0px 30rpx;
		.codeBlock{
			margin-top: 250rpx;
			padding: 40rpx 40rpx 124rpx 40rpx;
			background: #fff;
			box-shadow: 0rpx 8rpx 60rpx 0rpx rgba(0,0,0,0.1);
			border-radius: 12rpx 12rpx 16rpx 16rpx;
			&-title{
				font-family: Alibaba PuHuiTi 2.0, Alibaba PuHuiTi 20;
				font-weight: normal;
				font-size: 32rpx;
				color: #999999;
			}
			&-codeTitle{
				padding-top: 24rpx;
				font-family: Alibaba PuHuiTi 2.0, Alibaba PuHuiTi 20;
				font-weight: normal;
				font-size: 52rpx;
				color: #333333;
			}
			&-codeImage{
				margin-top: 350rpx;
				width: 390rpx;
				height: 390rpx;
				margin-left: 106rpx;
			}
		}
		.codeFont{
			padding-top: 76rpx;
			font-family: Alibaba PuHuiTi 2.0, Alibaba PuHuiTi 20;
			font-weight: normal;
			font-size: 28rpx;
			color: #AEAEB0;
			text-align: center;
		}
	}
</style>
